package etc.server;

import com.dmz.test.etc.task.TaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lee
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    private TaskService taskService;

    @GetMapping("/task/2051")
    public void test2051() {
        taskService.task2051();
    }

    @GetMapping("/task/4031")
    public void test4031() {
        taskService.task4031();
    }

    @GetMapping("/task/4051")
    public void test4051() {
        taskService.task4051();
    }
}
